package com.ygs.secs.service.impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

import com.ygs.secs.mapper.ReplyMapper;
import com.ygs.secs.model.Reply;
import com.ygs.secs.service.ReplyService;

@Service
public class ReplyServiceImpl implements ReplyService {

    @Resource
    private ReplyMapper replyMapper;

    @Override
    public int deleteByPrimaryKey(Integer replyid) {
        return replyMapper.deleteByPrimaryKey(replyid);
    }

    @Override
    public int insert(Reply record) {
        return replyMapper.insert(record);
    }

    @Override
    public int insertSelective(Reply record) {
        return replyMapper.insertSelective(record);
    }

    @Override
    public Reply selectByPrimaryKey(Integer replyid) {
        return replyMapper.selectByPrimaryKey(replyid);
    }

    @Override
    public int updateByPrimaryKeySelective(Reply record) {
        return replyMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Reply record) {
        return replyMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<Reply> list) {
        return replyMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<Reply> list) {
        return replyMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<Reply> list) {
        return replyMapper.batchInsert(list);
    }

    @Override
    public List<Reply> findreplysbyrecordid(int recordid) {
        return replyMapper.findreplysbyrecordid(recordid);
    }

}
